package com.onLineCar.netty.service;

import com.onLineCar.common.system.domain.SysUser;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @program: onLineCar-server
 * @description:
 * @author: godGuang
 * @create: 2023-12-14 11:01
 **/
public interface NettyService {
    String getWebSocketServerUrl();

    List<SysUser> getFriendList(String userName);

    Map<String, Object> uploadFile(MultipartFile file);

    void download(String fileName, HttpServletResponse response) throws IOException;
}
